//
//  CHDeviceOC.m
//  CHDevice
//
//  Created by cyptt on 2022/6/13.
//

#import "CHDeviceOC.h"
#import "CHUUIDManager.h"
@implementation CHDeviceOC

+(NSString *)deviceId{
    
    NSString * uuid = [[UIDevice currentDevice].identifierForVendor UUIDString];
    CHUUIDManager.shareInstance.bundleId = [[NSBundle mainBundle]bundleIdentifier];
    NSString * resultUUID =  [[CHUUIDManager shareInstance] readUUID:uuid];
    return  resultUUID;
}

+(NSString *)osVersion{
    return [UIDevice currentDevice].systemVersion;
}

+(NSString *)osName{
   return [UIDevice currentDevice].systemName;
}
+(NSString *)deviceName{
    return  [UIDevice currentDevice].name;
}
+(NSString *)deviceModel{
    return [UIDevice currentDevice].model;
}
@end
